﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mytrip.Theme
{
   public static class BodyElements
    {
       public static string body()
       {  
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("background: #4b6c9e;");
               result.AppendLine("font-family: Verdana, Helvetica, Sans-Serif;");
           } if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("background: #fff url(green/background_body.png) repeat-x;");
               result.AppendLine("font-family: Georgia, 'Times New Roman', Times, serif;");
           }
           result.AppendLine("font-size: .75em;");           
           result.AppendLine("margin: 0;");
           result.AppendLine("padding: 0;");
           result.AppendLine("color: #696969;");
           return result.ToString();
       }
       public static string a_link()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("color: #034af3;");
           result.AppendLine("text-decoration: underline;"); 
           return result.ToString();
       }
       public static string a_visited()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("color: #505abc;");
           return result.ToString();
       }
       public static string a_hover()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("color: #1d60ff;");
           result.AppendLine("text-decoration: none;");
           return result.ToString();
       }
       public static string a_active()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("color: #12eb87;");
           return result.ToString();
       }
       public static string p_ul()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("margin-bottom: 20px;");
           result.AppendLine("line-height: 1.6em;");
           return result.ToString();
       }
    }
}
